<?php
error_reporting(E_ALL);
require "product/ProductFactory.php";

/*$obj = ProductFactory::getProduct(ProductFactory::TYPE_BOOKS);

echo "<pre>";
var_export($obj->getList());
echo "</pre>";*/

//ProductFactory::getProduct(ProductFactory::TYPE_BOOKS);
//ProductFactory::getProduct(ProductFactory::TYPE_DOGS);
ProductFactory::getProduct([ProductFactory::TYPE_BOOKS,ProductFactory::TYPE_DOGS]);

echo "<pre>";
$child = ProductDataCenter::getChild(103);
var_export($child);
echo "</pre>";